<%= render 'menu/caidau'%>
<fieldset align="left">
			<legend><h2>Edit Book Detail</h2></legend>

<%= form_tag :action => 'updateprofile'%>
	<table>
		<tr>
			<td>Name: </td>
			<td><%= text_field 'user', 'Name'%> </td>
		</tr>
		<tr>
			<td>Address:</td>
			<td> <%= text_field'user', 'Address'%> </td>
		</tr>
		<tr>
			<td>Phone:</td>
			<td><%= text_field 'user', 'Phone'%> </td>
		</tr>
		<tr>
			<td>Email:</td>
			<td><%= text_field 'user','Email'%> </td>
		</tr>
	</table>	


<%= submit_tag "Save changes" %>
<%= $end_form_tag %>

<br/>
<%= link_to 'Back', {:action => 'show_profile' } %>
</fieldset>
